<?php
/**
 * Project: HTPHouDuan
 * User: xilibo
 * Date: 2018/1/25
 */

namespace app\hpt\controller;

use think\Request;
use app\common\controller\CommonController;

/**
 * 基础控制器
 */
class BaseController extends CommonController
{

    public function __construct(Request $request = null)
    {
        parent::__construct($request);
    	parent::_initialize();
        if (! $this->verifyLogin()){
			// $this->error(config('error_code.user_login_fail')['msg']);
        }
    }

}
